package com.ruicar.afs.cloud.apply.admin;


import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsFeignClients;
import com.ruicar.afs.cloud.common.core.security.annotation.EnableAfsResourceServer;
import com.ruicar.afs.cloud.common.swagger.annotation.EnableAfsSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author Lee
 * @date 2020-06-04
 * 进件系统 用户统一管理
 */
@EnableAfsSwagger2
@SpringCloudApplication
@EnableAfsFeignClients
@EnableAfsResourceServer(details = true)
@Configuration
@EnableDiscoveryClient
@EnableCaching
@ComponentScan({"com.ruicar.afs.cloud.apply.admin", "com.ruicar.afs.cloud.admin"})
public class AfsApplyAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AfsApplyAdminApplication.class, args);
    }
}
